//
//  HLiveSendGiftView.h
//  linktuIOS
//
//  Created by hejunsong on 2017/1/15.
//  Copyright © 2017年 tianxie. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HGiftViewModel.h"
#import "HLiveMesssage.h"
#import "HBalanceViewModel.h"
@class giftModel;
//  -(void)AnimationWithmodel:(giftModel *)model Anduserinfo:(RCUserInfo *)userinfo number:(NSString *)numberstr
@protocol HLiveSendGiftViewDelegate <NSObject>

@optional
-(void)hliveSendGiftViewWithMesage:(LTMessage *)giftMessage;
-(void)hliveSendGiftViewaddAnimation:(LTUser *)userinfo withGiftmdoel:(giftModel *)giftmodel;
@end

@interface HLiveSendGiftView : UIView

+(instancetype)sendGiftView;

@property(nonatomic,strong) MTLiveModel *liveModel;
@property(nonatomic,weak)  HBalanceViewModel *balanceViewModel;
@property(nonatomic,weak)  HGiftViewModel *giftViewModel;

@property(nonatomic,weak) id<HLiveSendGiftViewDelegate> delegate;
@property(nonatomic,weak) UIViewController *targetViewcontroller;

-(void)relaodData;
-(void)show;
-(void)dismis;
-(void)clearTimer;
-(void)refreshBalance;
@end
